/* subpackage_volleyball/knowledge_skills/skill_detail.scss */

/* 全局样式 */
page {
  background-color: #f8f8f8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* 加载状态 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400rpx;
}

.loading-spinner {
  width: 60rpx;
  height: 60rpx;
  border: 6rpx solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #1989fa;
  animation: spin 1s linear infinite;
}

.loading-text {
  margin-top: 20rpx;
  font-size: 28rpx;
  color: #888;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 技能详情容器 */
.skill-detail-container {
  padding-bottom: 40rpx;
}

/* 图片展示区域 */
.image-section {
  width: 100%;
  background-color: #f5f5f5;
  position: relative;
}

.skill-image {
  width: 100%;
  height: 400rpx;
  object-fit: cover;
}

/* 内容区域 */
.content-section {
  padding: 30rpx;
  background-color: #fff;
  margin-top: 20rpx;
  border-radius: 16rpx;
}

/* 技能标题和描述 */
.skill-header {
  margin-bottom: 30rpx;
}

.skill-title {
  font-size: 40rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 16rpx;
}

.skill-description {
  font-size: 28rpx;
  color: #666;
  line-height: 1.6;
}

/* 技能标签 */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30rpx;
}

.tag {
  padding: 8rpx 20rpx;
  background-color: #e8f3ff;
  color: #1989fa;
  font-size: 24rpx;
  border-radius: 30rpx;
  margin-right: 16rpx;
  margin-bottom: 16rpx;
}

/* 技能内容 */
.skill-content {
  font-size: 28rpx;
  color: #333;
  line-height: 1.8;
  margin-bottom: 40rpx;
}

.skill-content rich-text {
  width: 100%;
}

/* 区域标题 */
.section-title {
  display: flex;
  align-items: center;
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 24rpx;
}

.section-icon {
  width: 32rpx;
  height: 32rpx;
  margin-right: 12rpx;
}

/* 关键要点 */
.key-points-section {
  margin-bottom: 40rpx;
}

.key-points-list {
  margin-left: 44rpx;
}

.key-point-item {
  display: flex;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  color: #333;
  line-height: 1.6;
}

.point-number {
  width: 40rpx;
  height: 40rpx;
  background-color: #1989fa;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
  margin-right: 16rpx;
  flex-shrink: 0;
}

.point-content {
  flex: 1;
}

/* 常见错误 */
.mistakes-section {
  margin-bottom: 40rpx;
}

.mistakes-list {
  margin-left: 44rpx;
}

.mistake-item {
  display: flex;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  color: #e64340;
  line-height: 1.6;
}

.mistake-icon {
  width: 40rpx;
  height: 40rpx;
  background-color: #ffebeb;
  color: #e64340;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
  font-weight: bold;
  margin-right: 16rpx;
  flex-shrink: 0;
}

.mistake-content {
  flex: 1;
}

/* 练习步骤 */
.practice-section {
  margin-bottom: 40rpx;
}

.practice-steps-list {
  margin-left: 44rpx;
}

.practice-step-item {
  display: flex;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  color: #333;
  line-height: 1.6;
}

.step-number {
  width: 40rpx;
  height: 40rpx;
  background-color: #f0f9ff;
  color: #0066cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
  margin-right: 16rpx;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

/* 操作按钮 */
.action-buttons {
  display: flex;
  justify-content: center;
  margin-top: 40rpx;
}

.practice-btn {
  width: 80%;
  height: 90rpx;
  font-size: 32rpx;
  line-height: 90rpx;
  background-color: #1989fa;
  color: #fff;
  border-radius: 45rpx;
}

.practice-btn:active {
  background-color: #096dd9;
}